Personalization View Controllers
-
Undocumented
See moreDeclaration
Objective-C
@interface AddNoteViewController : UIViewController <PersonalizationOptionViewControllerProtocol, RevealPersonalizationViewControllerProtocol> /** Default instantiation method for `AddNoteViewController` @param personalizationOption - contains the configuration options for the note creation @param createManager - the manager responsible for handling the flow management in the creation process. @param createFlowDelegate - the object responsible for implementing AddNoteViewController callbacks @return an instance of AddNoteViewController **/ + (instancetype)viewControllerWithPersonalizationOption:(PersonalizationOption *)personalizationOption createManager:(VoucherCreationManager *)createManager createFlowDelegate:(nullable id<VoucherCreationFlowDelegate>)createFlowDelegate; @end
Swift
class AddNoteViewController : UIViewController, PersonalizationOptionViewControllerProtocol, RevealPersonalizationViewControllerProtocol
-
CreateChallengesViewController
is the default implementation of the challenge selection screen to pick a game. It displays all available games and allows users to play to preview the game and change game difficulty. It allows allows the user to change a games difficulty if the game can change difficulty.Declaration
Objective-C
@interface CreateChallengesViewController : UIViewController <PersonalizationOptionViewControllerProtocol>
Swift
class CreateChallengesViewController : UIViewController, PersonalizationOptionViewControllerProtocol
-
See moreFullScreenImageEditViewController
is the screen responsible for displaying a selected image and all photo editing options. It allows users to interact with and customize a selected image.Declaration
Objective-C
@interface FullScreenImageEditViewController : UIViewController
Swift
class FullScreenImageEditViewController : UIViewController
-
The
See moreFullScreenImageEditViewControllerDelegate
is the object responsible for supplying additional photo editing screens.Declaration
Objective-C
@protocol FullScreenImageEditViewControllerDelegate <NSObject>
Swift
protocol FullScreenImageEditViewControllerDelegate : NSObjectProtocol
-
GiftTagViewController
is the screen that allows users to send aVoucher
to a selected recipient or invite multiple recipients to compete in a race for theVoucher
. The screen also contains a DateTime picker which determines when aVoucher
can be unwrapped / when a race will take place.Declaration
Objective-C
@interface GiftTagViewController : UIViewController <PersonalizationOptionViewControllerProtocol>
Swift
class GiftTagViewController : UIViewController, PersonalizationOptionViewControllerProtocol
-
This personalization screen allows users to browse and select WrappingPapers for their
See moreVoucher
Declaration
Objective-C
@interface WrappingViewController : UIViewController <PersonalizationOptionViewControllerProtocol>
Swift
class WrappingViewController : UIViewController, PersonalizationOptionViewControllerProtocol
-
See moreHtmlGameViewController
presents a fullscreenSKWebView
to enable users to play games that supportHtmlGameData
.Declaration
Objective-C
@interface HtmlGameViewController : UIViewController <GameViewControllerProtocol>
Swift
class HtmlGameViewController : UIViewController, GameViewControllerProtocol
-
See moreGameFactory
produces UIViewControllers that conform toGameViewControllerProtocol
for the specified types.GameFactory
communicates with theVoucherCreationFlowDelegate
and delegates outside the SDK if necessary.Declaration
Objective-C
@interface GameFactory : NSObject
Swift
class GameFactory : NSObject
-
See moreGameViewControllerProtocol
is the interface for UIViewControllers that facilitate interactions with games. UIViewControllers must implement this protocol to appear in the game selection screen.Declaration
Objective-C
@protocol GameViewControllerProtocol <NSObject>
Swift
protocol GameViewControllerProtocol : NSObjectProtocol
-
See moreVouchrImageModelSearchViewController
searches and displays images from aSearchAgent
source.Declaration
Objective-C
@interface VouchrImageMediaSearchViewController : UIViewController <PersonalizationOptionViewControllerProtocol>
Swift
class VouchrImageMediaSearchViewController : UIViewController, PersonalizationOptionViewControllerProtocol